package kis.designpattern.simplefactory;

public class Factory {
	public CarFactory createFactory(int i){
		CarFactory factory = null;
		if(i==1){
			factory = new BMWFactory();
		}else{
			factory = new AudiCarFactory();
		}
		return factory;
	}
}
